package com.realife;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @version V1.0
 * @author: Albert
 * @date: 2020/5/31 20:16
 * @description:
 * http://localhost:8082/swagger-ui.html#/
 */
@SpringBootApplication
@MapperScan("com.realife.ysuper.dao")
@EnableDiscoveryClient
//@ComponentScan("com.realife")//包开头都是同名,可以不加,也能扫描过去
public class RLYSuperApp8082 {

    public static void main(String[] args) {
        SpringApplication.run(RLYSuperApp8082.class, args);
    }
}

